package com.sikaryofficial.workbench.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sikaryofficial.system.api.model.goods.GoodsTasteResp;
import com.sikaryofficial.workbench.domain.entity.GoodsRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 商品关联Mapper接口
 * 
 * @author wuweihong
 * @date 2024-09-23
 */
public interface GoodsRelationMapper extends BaseMapper<GoodsRelation>  {
    /**
     * 根据品牌编号、关键字、数量查询商品口味
     * @param brandNo
     * @param keyWord
     * @param size
     * @return
     */
    List<GoodsTasteResp> listGoodsTaste(@Param("brandNo") String brandNo,
                                        @Param("keyWord") String keyWord,
                                        @Param("size") Integer size);
}
